<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/index.css">
</head>
<body>
  <div class="mmb_container">
    <div class="mmb_header">
      <a href="index.html" class="logo"></a>
      <a href="#" class="download"></a>
    </div>
    <div class="mmb_search">
      <input type="text" placeholder="请输入你想比价的商品">
      <button>搜索</button>
    </div>
    <div class="mmb_nav">
      <ul class="nav_ul clearfix">
      </ul>
    </div>
    <div class="mmb_cheap">
      <div class="title">
        <h3 class="fl">超值折扣推荐</h3>
        <a href="#" class="fr"></a>
      </div>
      <div class="content">
          
      </div>
      <div class="moreCheap">
        <a href="#">更多优惠信息>></a>
      </div>
    </div>
    <div class="mmb_ranking">
      <h3 class="fl">品牌排行</h3>
      <a href="#" class="fr"></a>
    </div>
    <div class="mmb_footer">
      <div class="top clearfix">
        <a href="#">登录</a>
        <a href="#">注册</a>
        <a href="#"><img src="./images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="bottom">
        <p><a href="#">手机APP下载</a> <a href="#">慢慢买手机版</a> -- 掌上比价平台 </p>
        <p>m.manmanbuy.com</p>
      </div>
    </div>
  </div>
  
  <script type="text/html" id="tmp">
    {{ each result v i }}
    <li class="{{ i > 7? 'hide':'' }}">
      <a href="{{ v.titlehref }}">
        {{ v.img }}
        <p>{{ v.name }}</p>
      </a>
    </li>
    {{ /each }}
  </script>

  <script type="text/template" id="tmp2">
    {{ each result v i }}
    <a class="item" href="discount.html?productId={{ v.productId }}">
      <div class="left">
        {{@v.productImgSm}}
      </div>
      <div class="right">
        <p>{{ v.productName }} <span> {{ v.productPinkage }}</span> </p>
        <p class="time">
          <span>{{ v.productFrom }}</span>|
          <span>{{ v.productTime }}</span>
          <span>{{ v.num }}</span>
        </p>
      </div>
    </a>
    {{/each}}
  </script>

  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./lib/flexible/flexible.js"></script>
  <script src="./js/index.js"></script>
</body>
</html>